package com.nativetalk.bean.authentication;

import com.fasterxml.jackson.annotation.JsonIgnore;
import org.hibernate.validator.constraints.Length;
import org.springframework.web.multipart.commons.CommonsMultipartFile;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.io.Serializable;
import java.sql.Timestamp;

/**
 * Created by lizhun on 16/1/11.
 * 教师认证信息表
 */
public class TdNtAuthenticationInsertTwo implements Serializable{
    private Integer auh_id;//id
    private Integer tea_id;//教师id
    @NotNull(message = "{TEACHER.PAPAL.REGEXP}")
    @Length(min = 1,max = 30, message = "{TEACHER.PAPAL.REGEXP}")
    private String payPal;//paypal账号
    private String tea_head_portrait;//头像
    private String student_id;//学生证
    private String tea_sound_synopsis;//录音简介
    private String auh_state;//1审核中2审核成功3审核失败
    private String auh_expalin;//审核说明
    private Timestamp aut_time;//申请时间
    private String exam_month;//申请月
    private Timestamp exam_time;//审核时间
    private String auh_month;//审核月
    private String mang_name;//审核人
    private Integer mang_id;//审核人id
    @NotNull(message = "{TEACHER.SYNOPSIS.REGEXP}")
    private Integer dict_id;//学校id
    @NotNull(message = "{TEACHER.SYNOPSIS.REGEXP}")
    @Length(min = 1,max = 1280, message = "{TEACHER.SYNOPSIS.REGEXP}")
    private String tea_synopsis;
    @NotNull(message = "{TEACHER.SEX.REGEXP}")
    @Pattern(regexp = "^[123]$", message = "{TEACHER.SEX.REGEXP}")
    private String tea_sex;

    @JsonIgnore
    private CommonsMultipartFile head_portrait;
    @JsonIgnore
    private CommonsMultipartFile studentId;
    @JsonIgnore
    private CommonsMultipartFile sound_synopsis;//录音简介

    @NotNull(message = "{TEACHER.NAME.REGEXP}")
    @Length(min = 1,max = 16, message = "{TEACHER.NAME.REGEXP}")
    private String tea_name;
    private int pay_type = 1;//支付类别1,paypal2.alipay 默认1
    private int nationality;//国籍 默认为0  0时前端显示美国

    private String contact;//联系方式
    private int contact_type = 1;//联系方式类型(1:Skype 2:Wechat 默认为1)

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public int getContact_type() {
        return contact_type;
    }

    public void setContact_type(int contact_type) {
        this.contact_type = contact_type;
    }

    public int getNationality() {
        return nationality;
    }

    public void setNationality(int nationality) {
        this.nationality = nationality;
    }

    public int getPay_type() {
        return pay_type;
    }

    public void setPay_type(int pay_type) {
        this.pay_type = pay_type;
    }

    public void setDict_id(Integer dict_id) {
        this.dict_id = dict_id;
    }

    public Integer getDict_id() {
        return dict_id;
    }

    public void setTea_name(String tea_name) {
        this.tea_name = tea_name;
    }

    public String getTea_name() {
        return tea_name;
    }
    public String getTea_sex() {
        return tea_sex;
    }

    public void setTea_sex(String tea_sex) {
        this.tea_sex = tea_sex;
    }
    public void setTea_synopsis(String tea_synopsis) {
        this.tea_synopsis = tea_synopsis;
    }

    public String getTea_synopsis() {
        return tea_synopsis;
    }
    public void setHead_portrait(CommonsMultipartFile head_portrait) {
        this.head_portrait = head_portrait;
    }

    public void setStudentId(CommonsMultipartFile studentId) {
        this.studentId = studentId;
    }

    public void setSound_synopsis(CommonsMultipartFile sound_synopsis) {
        this.sound_synopsis = sound_synopsis;
    }

    public CommonsMultipartFile getHead_portrait() {
        return head_portrait;
    }

    public CommonsMultipartFile getStudentId() {
        return studentId;
    }

    public CommonsMultipartFile getSound_synopsis() {
        return sound_synopsis;
    }

    public void setAuh_id(Integer auh_id) {
        this.auh_id = auh_id;
    }

    public void setTea_id(Integer tea_id) {
        this.tea_id = tea_id;
    }

    public void setPayPal(String payPal) {
        this.payPal = payPal;
    }

    public void setTea_head_portrait(String tea_head_portrait) {
        this.tea_head_portrait = tea_head_portrait;
    }

    public void setStudent_id(String student_id) {
        this.student_id = student_id;
    }

    public void setTea_sound_synopsis(String tea_sound_synopsis) {
        this.tea_sound_synopsis = tea_sound_synopsis;
    }

    public void setAuh_state(String auh_state) {
        this.auh_state = auh_state;
    }

    public void setAuh_expalin(String auh_expalin) {
        this.auh_expalin = auh_expalin;
    }

    public void setAut_time(Timestamp aut_time) {
        this.aut_time = aut_time;
    }

    public void setExam_month(String exam_month) {
        this.exam_month = exam_month;
    }

    public void setExam_time(Timestamp exam_time) {
        this.exam_time = exam_time;
    }

    public void setAuh_month(String auh_month) {
        this.auh_month = auh_month;
    }

    public void setMang_name(String mang_name) {
        this.mang_name = mang_name;
    }

    public void setMang_id(Integer mang_id) {
        this.mang_id = mang_id;
    }

    public Integer getMang_id() {
        return mang_id;
    }

    public Integer getAuh_id() {
        return auh_id;
    }

    public Integer getTea_id() {
        return tea_id;
    }

    public String getPayPal() {
        return payPal;
    }

    public String getTea_head_portrait() {
        return tea_head_portrait;
    }

    public String getStudent_id() {
        return student_id;
    }

    public String getTea_sound_synopsis() {
        return tea_sound_synopsis;
    }

    public String getAuh_state() {
        return auh_state;
    }

    public String getAuh_expalin() {
        return auh_expalin;
    }

    public Timestamp getAut_time() {
        return aut_time;
    }

    public String getExam_month() {
        return exam_month;
    }

    public Timestamp getExam_time() {
        return exam_time;
    }

    public String getAuh_month() {
        return auh_month;
    }

    public String getMang_name() {
        return mang_name;
    }
}
